﻿using System;

namespace Entity
{
    public class Message
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 消息内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 消息发送人id
        /// </summary>
        public int SendUserId { get; set; }

        /// <summary>
        /// 消息发送时间
        /// </summary>
        public DateTime SendTime { get; set; }

        /// <summary>   
        /// 消息查看时间
        /// </summary>
        public DateTime? ReadTime {get;set;}

        /// <summary>
        /// 是否查看：0否 1是
        /// </summary>
        public int IsSee { get; set; }
    }
}
